<template>
  <div class="wrapper">
    <router-link to="/">
      <div class="return-top"><span class="iconfont left-icon">&#xe624;</span></div>
    </router-link>
    <div class="logo"><img src="http://www.fangzizi.com/images/logo.png" alt="">
    </div>
    <div class="Personal">
      <span class="iconfont right-icon">&#xe617;</span>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'CommonHeader',
  }
</script>

<style scoped lang="stylus">
  @import "~styles/varibles.styl"
  .wrapper
    wrapper()
    display flex
    justify-content space-between
    align-items center
    line-height $headerHeight
    background $bgColor
    color $headerIcon


  .logo
    width 3rem
    box-sizing border-box
    padding .1rem 0
    height .76rem
    line-height .76rem
    display flex
    align-items center
    justify-content center

  .logo img
    height 100%

  .return-top span
    font-size .3rem
    color $headerIcon
    font-weight bold
  .Personal
    line-height .76rem

  .Personal span
    font-size .5rem
    color $headerIcon
    line-height .76rem



</style>
